import request from '@/utils/request'

export function findById(id) {
    return request({
        url: `/exam/${id}`,
        method: 'get',
    })
}
export function del(id) {
    return request({
        url: `/exam/delete/${id}`,
        method: 'delete',
    })
}
export function delBat(data) {
    return request({
        url: '/exam/delete',
        method: 'delete',
        data
    })
}
export function save(data) {
    return request({
        url: '/exam/save',
        method: 'post',
        data
    })
}
export function list(data) {
    return request({
        url: '/exam/page',
        method: 'post',
        data
    })
}